package com.daotu.psy.common.mybatis.handler;

import cn.hutool.core.lang.TypeReference;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;
import org.apache.ibatis.type.MappedTypes;

import java.util.Map;

/**
 * MyBatis-Plus,List<DictData>处理类
 *
 * @author jacky
 */
@MappedTypes(value = {Map.class})
@MappedJdbcTypes(value = JdbcType.VARCHAR)
public class StringMapTypeHandler extends BaseMapTypeHandler<String> {

	@Override
	protected TypeReference<Map<String, String>> specificType() {
		return new TypeReference<>() {
		};
	}
}
